<template>
  <div>
    <van-icon name="like-o" color="red" v-if="value"></van-icon>
    <van-icon name="like-o" color="#ccc" v-else></van-icon>
  </div>
</template>

<script>
export default {
  name: 'collectarticleIndex',

  data() {
    return {

    };
  },
  props: {
    value: {
      type: Boolean,
      require: true
    }
  },
  mounted() {

  },

  methods: {

  }
};
</script>

<style lang="less" scoped>
</style>